<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .box {
      width: 100px;
      height: 100px;
      padding: 10px;
      border: #000 1px solid;
      border-radius: 4px;
      float: left;
    }
    .item {
      width: 30px;
      height: 30px;
      background: #000;
      border-radius: 50%;
    }
    
    .box1 {
      display: flex;
      /* justify-content: flex-end;
      align-items: flex-end; */
      /* justify-content: center;
      align-items: center; */
      justify-content: flex-start;
      align-items: flex-end;
    }

    .box2 {
      display: flex;
      /* justify-content: space-between; */
    }
    .box2 .item:first-child {
      margin-right: 5px;
    }
    .box2 .item:nth-child(2) {
      align-self: center;
    }

    .box3 {
      display: flex;
      justify-content: space-between;
      flex-direction: column;
    }
    .box3 .item:nth-child(2) {
      align-self: flex-end;
    }

    .box4 {
      display: flex;
      justify-content: space-between;
    }
    .box4 .list {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
  </style>
</head>
<body>
  <div class="box box1">
    <div class="item"></div>
  </div>
  <div class="box box2">
    <div class="item"></div>
    <div class="item"></div>
  </div>
  <div class="box box3">
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
  </div>
  <div class="box box4">
    <div class="list">
      <div class="item"></div>
      <div class="item"></div>
    </div>
    <div class="list">
      <div class="item"></div>
      <div class="item"></div>
    </div>
    
  </div>
</body>
</html>